package com.mxf.code.service;

import com.mxf.code.dao.LoginDao;
import com.mxf.code.entity.LoginUserEntity;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class LoginServiceImpl implements LoginService {

    @Autowired
    private LoginDao loginDao;

    @Override
    public String loginSys(LoginUserEntity loginUser) {
        return loginDao.loginSys(loginUser);
    }
}